<?php
require_once("classes/Auth.php");
$app = new Auth();
if( isset($_POST['submit']) )
	$app->AuthGet($_POST['login'], $_POST['password']);
if( isset($_GET['logout']) )
	$app->logout();
if( !$app->isAuth() )
	$app->ShForm();
?>
